<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="vue.global.js"></script>
    <script src="axios.min.js"></script>
</head>
<body id="app">
<h3 id="h3" v-text="this.text"></h3>
</body>
<script>
    //定义app
    const app={

        //数据绑定
        data(){
            return{
                text:'hello vue!'
            }
        },
        //事件绑定
        methods:{},

        //构造方法
        mounted(){
            console.log("vue启动成功！")
        }
    }

    //启动app
    Vue.createApp(app).mount("#app")
</script>
</html>